package com.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youxuan.pojo.entity.Order;
import com.youxuan.pojo.entity.ResponseResult;
import com.youxuan.pojo.vo.AddOrderParamsVo;
import com.youxuan.pojo.vo.OrderDetailVo;
import com.youxuan.pojo.vo.OrderItemVo;

import java.util.List;

public interface OrderService extends IService<Order> {

    ResponseResult<List<OrderItemVo>> getList(Long uid);

    ResponseResult<List<OrderItemVo>> getList();

    OrderDetailVo getOrderDetailByOid(String orderCode);

    Order addOrder(AddOrderParamsVo addOrderParamsVo);
}
